package com.example.rightmost.entity;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author:javayhch
 * @date:2024/8/16
 * @description:
 */

//评论
@Data
public class Comment {

    //评论id
    private Integer id;

    //用户id
    private Integer userId;

    //作品id
    private Integer pieceId;

    //父评论id
    private Integer parentCommentId;

    //评论层级
    private Character level;

    //文本内容
    private String text;

    //创建时间
    private LocalDateTime createTime;

}
